package com.yellowpage.wf.service;

import java.util.List;

import com.yellowpage.white.service.BaseServiceImpl;
import com.yellowpage.wf.dao.ResourceDao;
import com.yellowpage.wf.data.Resource;

public class ResourceServiceImpl extends BaseServiceImpl implements ResourceService {
	  private ResourceDao resourceDao;
	
	public void setResourceDao(ResourceDao resourceDao) {
		this.resourceDao = resourceDao;
	}
	/* White generate Method */ 
	  public void saveResource(Resource resource)
	  {
		  resourceDao.save(resource);
	  }
	  public Resource getResource(Long id){
		  return resourceDao.get(id);
	  }
}	